package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 菜单
 *
 * @author longzhen.gong
 * @date 2021/6/10 11:29
 */
@Data
public class MenuesVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonProperty("menu_id")
    private Integer menuId;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单链接")
    private String url;

    @ApiModelProperty(value = "父ID")
    private Integer pid;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "修改时间")
    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

    @ApiModelProperty(value = "类型")
    private Byte type;

    @ApiModelProperty(value = "状态")
    private Byte status;
}
